package com.gaofei.loans.service;

import com.gaofei.loans.domain.Loans;
import com.gaofei.loans.mapper.LoansMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoansServiceImpl implements LoansService{

    @Autowired
    LoansMapper loansMapper;
    @Override
    public void save(Loans loans) {
        loansMapper.save(loans);
    }

    @Override
    public Loans findLoansById(String businessKey) {
        return loansMapper.findLoansById(businessKey);
    }
}
